package edu.sctu.nieyu.day20150521.textone;

/**
 * Created by user01 on 2015/5/21.
 */
public class Airplane extends Traffic implements Inter {
    @Override
    public void method() {
        System.out.println("装载乘客200人");
    }

    @Override
    public void method1() {
        System.out.println("在天空飞行");
    }

    @Override
    public void getMessage() {

        System.out.println("飞机：");
        Traffic airplane = new Airplane();
        airplane.method();
        airplane.method1();

    }
}
